import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
	state: {
		footerTabbar: [{
			text: '首页',
			customIcon: false,
			icon: 'zhuye',
			path: "/pages/index/index"
		},
		{
			text: '热爱',
			customIcon: false,
			icon: 'xihuan',
			path: '/pages/like/like'
		},
		{
			text: '通知',
			customIcon: false,
			icon: 'huo',
			path: '/pages/inform/inform'
		},
		{
			text: '我的',
			customIcon: false,
			icon: 'wode',
			path: '/pages/my/my'
		}
		],
		Sindex: 0,
	},
	mutations: {
		// setSindex
		setSindex(state, index) {
			state.Sindex = index
		}
	},
	actions: {}
})
export default store

